package com.action;

import java.util.List;

import com.man.OrderItemCtrl;
import com.std.OrderItem;

public class AdminOrderDetailAction {
	private int orderId;
	private List<OrderItem> orderItemList;
	public int getOrderId() {
		return orderId;
	}
	public void setOrderId(int orderId) {
		this.orderId = orderId;
	}
	public List<OrderItem> getOrderItemList() {
		return orderItemList;
	}
	public void setOrderItemList(List<OrderItem> orderItemList) {
		this.orderItemList = orderItemList;
	}
	public String execute() {
		OrderItemCtrl orderItemCtrl=new OrderItemCtrl();
		orderItemList=orderItemCtrl.getItems(orderId);
		orderItemCtrl.close();
		return "success";
	}
}
